<?php include PATH_TPL."/admin/tpl.header.phtml"?>
<div class="main-container inner">
    <div class="main-content">
        <div class="container-fluid">
            <div class="row bt">
                <div class="col-lg-12 bg">
                    <ol class="breadcrumb">
                        <li class="active">
                        <i class="fa  fa-fw fa-reorder"></i>日常护理详情
                        </li>
                    </ol>
                </div>
            </div>
            <div class="column">
            <form method="get" action="/admin_senior">
                <div class="text-center"><h4>日常护理详情</h4></div>
                <!--<span style="margin-left:40px;">老人姓名：</span><input type="text" style="width:80px;height:30px;" name="name" value="<?=$pName?>"/>
                <span style="margin-left:20px;">委托人联系电话：</span><input type="text" style="width:100px;height:30px;" name="phonenumber" />
                <span>入院时间：</span>
                <span style="cursor:pointer;" onclick="WdatePicker({el:'datetime'})" class="dateicon"><span class="glyphicon glyphicon-calendar"></span></span>
                <input type="text" name="created" id="datetime" value="<?=$pCreated?>" onclick="WdatePicker();"/>
                <span style="margin-left:20px;">所在部门：</span>
                <select>
                    <option>不限</option>
                </select>
                <button style="margin-left:50px;" type="button" class="btn btn-blue" id="search">查询</button>-->
            </div>
            <div class="panel-body text-center">
                <table class="table table-hover" >
                    <thead>
                        <tr>
                            <td>&nbsp;</td>
                            <td>&nbsp;</td>
                            <td><?=date('Y/m/d',strtotime('-6 days'))?></td>
                            <td><?=date('Y/m/d',strtotime('-5 days'))?></td>
                            <td><?=date('Y/m/d',strtotime('-4 days'))?></td>
                            <td><?=date('Y/m/d',strtotime('-3 days'))?></td>
                            <td><?=date('Y/m/d',strtotime('-2 days'))?></td>
                            <td><?=date('Y/m/d',strtotime('-1 days'))?></td>
                            <td><?=date('Y/m/d',time())?></td>
                        </tr>
         </thead>
         <tbody id="table_list">
                        <tr> 
      <th rowspan="11">早晨</th>
                            <!--<td rowspan="11">早晨</td>-->
                            <td>血压</td>
                            <td><?=empty($tSexData['high_pressure'])?'':$tSexData['high_pressure'].'mmHg'?>/<?=empty($tSexData['low_pressure'])?'':$tSexData['low_pressure'].'mmHg'?></td>
                            <td><?=empty($tFiveData['high_pressure'])?'':$tFiveData['high_pressure'].'mmHg'?>/<?=empty($tFiveData['low_pressure'])?'':$tFiveData['low_pressure'].'mmHg'?></td>
                            <td><?=empty($tFourData['high_pressure'])?'':$tFourData['high_pressure'].'mmHg'?>/<?=empty($tFourData['low_pressure'])?'':$tFourData['low_pressure'].'mmHg'?></td>
                            <td><?=empty($tThreeData['high_pressure'])?'':$tThreeData['high_pressure'].'mmHg'?>/<?=empty($tThreeData['low_pressure'])?'':$tThreeData['low_pressure'].'mmHg'?></td>
                            <td><?=empty($tTwoData['high_pressure'])?'':$tTwoData['high_pressure'].'mmHg'?>/<?=empty($tTwoData['low_pressure'])?'':$tTwoData['low_pressure'].'mmHg'?></td>
                            <td><?=empty($tOneData['high_pressure'])?'':$tOneData['high_pressure'].'mmHg'?>/<?=empty($tOneData['low_pressure'])?'':$tOneData['low_pressure'].'mmHg'?></td>
                            <td><?=empty($tData['high_pressure'])?'':$tData['high_pressure'].'mmHg'?>/<?=empty($tData['low_pressure'])?'':$tData['low_pressure'].'mmHg'?></td>
                        </tr>
                        <tr>
                            <td>血糖</td>
                            <td><?=empty($tSexData['blood_sugar'])?'/':$tSexData['blood_sugar'].'mmol/l'?></td>
                            <td><?=empty($tFiveData['blood_sugar'])?'/':$tFiveData['blood_sugar'].'mmol/l'?></td>
                            <td><?=empty($tFourData['blood_sugar'])?'/':$tFourData['blood_sugar'].'mmol/l'?></td>
                            <td><?=empty($tThreeData['blood_sugar'])?'/':$tThreeData['blood_sugar'].'mmol/l'?></td>
                            <td><?=empty($tTwoData['blood_sugar'])?'/':$tTwoData['blood_sugar'].'mmol/l'?></td>
                            <td><?=empty($tOneData['blood_sugar'])?'/':$tOneData['blood_sugar'].'mmol/l'?></td>
                            <td><?=empty($tData['blood_sugar'])?'/':$tData['blood_sugar'].'mmol/l'?></td>
                        </tr>
                        <tr>
                            <td>体温</td>
                            <td><?=empty($tSexData['temperature'])?'/':$tSexData['temperature'].'摄氏度'?></td>
                            <td><?=empty($tFiveData['temperature'])?'/':$tFiveData['temperature'].'摄氏度'?></td>
                            <td><?=empty($tFourData['temperature'])?'/':$tFourData['temperature'].'摄氏度'?></td>
                            <td><?=empty($tThreeData['temperature'])?'/':$tThreeData['temperature'].'摄氏度'?></td>
                            <td><?=empty($tTwoData['temperature'])?'/':$tTwoData['temperature'].'摄氏度'?></td>
                            <td><?=empty($tOneData['temperature'])?'/':$tOneData['temperature'].'摄氏度'?></td>
                            <td><?=empty($tData['temperature'])?'/':$tData['temperature'].'摄氏度'?></td>
                        </tr>
                        <tr>
                            <td>精神</td>
                            <td><?if($tSexData['mood_status'] == 1){echo '开心';}else if($tSexData['mood_status'] == 2){echo '正常';}else if($tSexData['mood_status'] == 3){echo '焦虑';}else if($tSexData['mood_status'] == 4){echo '孤独';}else if($tSexData['mood_status'] == 5){echo '自卑';}else if($tSexData['mood_status'] == 6){echo '多疑';}else if($tSexData['mood_status'] == 7){echo '忧郁';}else if($tSexData['mood_status'] == 8){echo '恐惧';}else if(empty($tSexData['mood_status'])){echo '/';}?></td>
                            <td><?if($tFiveData['mood_status'] == 1){echo '开心';}else if($tFiveData['mood_status'] == 2){echo '正常';}else if($tFiveData['mood_status'] == 3){echo '焦虑';}else if($tFiveData['mood_status'] == 4){echo '孤独';}else if($tFiveData['mood_status'] == 5){echo '自卑';}else if($tFiveData['mood_status'] == 6){echo '多疑';}else if($tFiveData['mood_status'] == 7){echo '忧郁';}else if($tFiveData['mood_status'] == 8){echo '恐惧';}else if(empty($tFiveData['mood_status'])){echo '/';}?></td>
                            <td><?if($tFourData['mood_status'] == 1){echo '开心';}else if($tFourData['mood_status'] == 2){echo '正常';}else if($tFourData['mood_status'] == 3){echo '焦虑';}else if($tFourData['mood_status'] == 4){echo '孤独';}else if($tFourData['mood_status'] == 5){echo '自卑';}else if($tFourData['mood_status'] == 6){echo '多疑';}else if($tFourData['mood_status'] == 7){echo '忧郁';}else if($tFourData['mood_status'] == 8){echo '恐惧';}else if(empty($tFourData['mood_status'])){echo '/';}?></td>
                            <td><?if($tThreeData['mood_status'] == 1){echo '开心';}else if($tThreeData['mood_status'] == 2){echo '正常';}else if($tThreeData['mood_status'] == 3){echo '焦虑';}else if($tThreeData['mood_status'] == 4){echo '孤独';}else if($tThreeData['mood_status'] == 5){echo '自卑';}else if($tThreeData['mood_status'] == 6){echo '多疑';}else if($tThreeData['mood_status'] == 7){echo '忧郁';}else if($tThreeData['mood_status'] == 8){echo '恐惧';}else if(empty($tThreeData['mood_status'])){echo '/';}?></td>
                            <td><?if($tTwoData['mood_status'] == 1){echo '开心';}else if($tTwoData['mood_status'] == 2){echo '正常';}else if($tTwoData['mood_status'] == 3){echo '焦虑';}else if($tTwoData['mood_status'] == 4){echo '孤独';}else if($tTwoData['mood_status'] == 5){echo '自卑';}else if($tTwoData['mood_status'] == 6){echo '多疑';}else if($tTwoData['mood_status'] == 7){echo '忧郁';}else if($tTwoData['mood_status'] == 8){echo '恐惧';}else if(empty($tTwoData['mood_status'])){echo '/';}?></td>
                            <td><?if($tOneData['mood_status'] == 1){echo '开心';}else if($tOneData['mood_status'] == 2){echo '正常';}else if($tOneData['mood_status'] == 3){echo '焦虑';}else if($tOneData['mood_status'] == 4){echo '孤独';}else if($tOneData['mood_status'] == 5){echo '自卑';}else if($tOneData['mood_status'] == 6){echo '多疑';}else if($tOneData['mood_status'] == 7){echo '忧郁';}else if($tOneData['mood_status'] == 8){echo '恐惧';}else if(empty($tOneData['mood_status'])){echo '/';}?></td>
                            <td><?if($tData['mood_status'] == 1){echo '开心';}else if($tData['mood_status'] == 2){echo '正常';}else if($tData['mood_status'] == 3){echo '焦虑';}else if($tData['mood_status'] == 4){echo '孤独';}else if($tData['mood_status'] == 5){echo '自卑';}else if($tData['mood_status'] == 6){echo '多疑';}else if($tData['mood_status'] == 7){echo '忧郁';}else if($tData['mood_status'] == 8){echo '恐惧';}else if(empty($tData['mood_status'])){echo '/';}?></td>
                        </tr>
                        <tr>
                            <td>皮肤</td>
                            <td><?if($tSexData['skin_status'] == 1){echo '完好';}else if($tSexData['skin_status'] == 2){echo '轻度';}else if($tSexData['skin_status'] == 3){echo '中度';}else if($tSexData['skin_status'] == 4){echo '重度';}else if(empty($tSexData['skin_status'])){echo '/';}?></td>
                            <td><?if($tFiveData['skin_status'] == 1){echo '完好';}else if($tFiveData['skin_status'] == 2){echo '轻度';}else if($tFiveData['skin_status'] == 3){echo '中度';}else if($tFiveData['skin_status'] == 4){echo '重度';}else if(empty($tFiveData['skin_status'])){echo '/';}?></td>
                            <td><?if($tFourData['skin_status'] == 1){echo '完好';}else if($tFourData['skin_status'] == 2){echo '轻度';}else if($tFourData['skin_status'] == 3){echo '中度';}else if($tFourData['skin_status'] == 4){echo '重度';}else if(empty($tFourData['skin_status'])){echo '/';}?></td>
                            <td><?if($tThreeData['skin_status'] == 1){echo '完好';}else if($tThreeData['skin_status'] == 2){echo '轻度';}else if($tThreeData['skin_status'] == 3){echo '中度';}else if($tThreeData['skin_status'] == 4){echo '重度';}else if(empty($tThreeData['skin_status'])){echo '/';}?></td>
                            <td><?if($tTwoData['skin_status'] == 1){echo '完好';}else if($tTwoData['skin_status'] == 2){echo '轻度';}else if($tTwoData['skin_status'] == 3){echo '中度';}else if($tTwoData['skin_status'] == 4){echo '重度';}else if(empty($tTwoData['skin_status'])){echo '/';}?></td>
                            <td><?if($tOneData['skin_status'] == 1){echo '完好';}else if($tOneData['skin_status'] == 2){echo '轻度';}else if($tOneData['skin_status'] == 3){echo '中度';}else if($tOneData['skin_status'] == 4){echo '重度';}else if(empty($tOneData['skin_status'])){echo '/';}?></td>
                            <td><?if($tData['skin_status'] == 1){echo '完好';}else if($tData['skin_status'] == 2){echo '轻度';}else if($tData['skin_status'] == 3){echo '中度';}else if($tData['skin_status'] == 4){echo '重度';}else if(empty($tData['skin_status'])){echo '/';}?></td>
                        </tr>
                        <tr>
                            <td>洗漱</td>
                            <td><?=empty($tSexData['nursing_type'])?'/':$tSexData['nursing_type']?></td>
                            <td><?=empty($tFiveData['nursing_type'])?'/':$tFiveData['nursing_type']?></td>
                            <td><?=empty($tFourData['nursing_type'])?'/':$tFourData['nursing_type']?></td>
                            <td><?=empty($tThreeData['nursing_type'])?'/':$tThreeData['nursing_type']?></td>
                            <td><?=empty($tTwoData['nursing_type'])?'/':$tTwoData['nursing_type']?></td>
                            <td><?=empty($tOneData['nursing_type'])?'/':$tOneData['nursing_type']?></td>
                            <td><?=empty($tData['nursing_type'])?'/':$tData['nursing_type']?></td>
                        </tr>
                        <tr>
                            <td>用饭</td>
                            <td><?if($tSexData['appetite'] == 1){echo '少量';}else if($tSexData['appetite'] == 2){echo '一般';}else if($tSexData['appetite'] == 3){echo '大量';}else if(empty($tSexData['appetite'])){echo '/';}?></td>
                            <td><?if($tFiveData['appetite'] == 1){echo '少量';}else if($tFiveData['appetite'] == 2){echo '一般';}else if($tFiveData['appetite'] == 3){echo '大量';}else if(empty($tFiveData['appetite'])){echo '/';}?></td>
                            <td><?if($tFourData['appetite'] == 1){echo '少量';}else if($tFourData['appetite'] == 2){echo '一般';}else if($tFourData['appetite'] == 3){echo '大量';}else if(empty($tFourData['appetite'])){echo '/';}?></td>
                            <td><?if($tThreeData['appetite'] == 1){echo '少量';}else if($tThreeData['appetite'] == 2){echo '一般';}else if($tThreeData['appetite'] == 3){echo '大量';}else if(empty($tThreeData['appetite'])){echo '/';}?></td>
                            <td><?if($tTwoData['appetite'] == 1){echo '少量';}else if($tTwoData['appetite'] == 2){echo '一般';}else if($tTwoData['appetite'] == 3){echo '大量';}else if(empty($tTwoData['appetite'])){echo '/';}?></td>
                            <td><?if($tOneData['appetite'] == 1){echo '少量';}else if($tOneData['appetite'] == 2){echo '一般';}else if($tOneData['appetite'] == 3){echo '大量';}else if(empty($tOneData['appetite'])){echo '/';}?></td>
                            <td><?if($tData['appetite'] == 1){echo '少量';}else if($tData['appetite'] == 2){echo '一般';}else if($tData['appetite'] == 3){echo '大量';}else if(empty($tData['appetite'])){echo '/';}?></td>
                        </tr>
                        <tr>
                            <td>用药</td>
                            <td><?if(empty($tSexData['medicine_yi']) && empty($tSexData['medicine_jj'])){echo '/';}else{echo '已用药:'.$tSexData['medicine_yi']['medicine_name'].'<br/>'.'拒绝用药:'.$tSexData['medicine_jj']['medicine_name'];}?></td>
                            <td><?if(empty($tFiveData['medicine_yi']) && empty($tFiveData['medicine_jj'])){echo '/';}else{echo '已用药:'.$tFiveData['medicine_yi']['medicine_name'].'<br/>'.'拒绝用药:'.$tFiveData['medicine_jj']['medicine_name'];}?></td>
                            <td><?if(empty($tFourData['medicine_yi']) && empty($tFourData['medicine_jj'])){echo '/';}else{echo '已用药:'.$tFourData['medicine_yi']['medicine_name'].'<br/>'.'拒绝用药:'.$tFourData['medicine_jj']['medicine_name'];}?></td>
                            <td><?if(empty($tThreeData['medicine_yi']) && empty($tThreeData['medicine_jj'])){echo '/';}else{echo '已用药:'.$tThreeData['medicine_yi']['medicine_name'].'<br/>'.'拒绝用药:'.$tThreeData['medicine_jj']['medicine_name'];}?></td>
                            <td><?if(empty($tTwoData['medicine_yi']) && empty($tTwoData['medicine_jj'])){echo '/';}else{echo '已用药:'.$tTwoData['medicine_yi']['medicine_name'].'<br/>'.'拒绝用药:'.$tTwoData['medicine_jj']['medicine_name'];}?></td>
                            <td><?if(empty($tOneData['medicine_yi']) && empty($tOneData['medicine_jj'])){echo '/';}else{echo '已用药:'.$tOneData['medicine_yi']['medicine_name'].'<br/>'.'拒绝用药:'.$tOneData['medicine_jj']['medicine_name'];}?></td>
                            <td><?if(empty($tData['medicine_yi']) && empty($tData['medicine_jj'])){echo '/';}else{echo '已用药:'.$tData['medicine_yi'].'<br/>'.'拒绝用药:'.$tData['medicine_jj'];}?></td>
                        </tr>
                        <tr>
                            <td>喝水</td>
                            <td><?if(empty($tSexData['driking_total'])){echo '/';}else{echo $tSexData['driking_total'].'ml'.','.$tSexData['driking_times'].'次';}?></td>
                            <td><?if(empty($tFiveData['driking_total'])){echo '/';}else{echo $tFiveData['driking_total'].'ml'.','.$tFiveData['driking_times'].'次';}?></td>
                            <td><?if(empty($tFourData['driking_total'])){echo '/';}else{echo $tFourData['driking_total'].'ml'.','.$tFourData['driking_times'].'次';}?></td>
                            <td><?if(empty($tThreeData['driking_total'])){echo '/';}else{echo $tThreeData['driking_total'].'ml'.','.$tThreeData['driking_times'].'次';}?></td>
                            <td><?if(empty($tTwoData['driking_total'])){echo '/';}else{echo $tTwoData['driking_total'].'ml'.','.$tTwoData['driking_times'].'次';}?></td>
                            <td><?if(empty($tOneData['driking_total'])){echo '/';}else{echo $tOneData['driking_total'].'ml'.','.$tOneData['driking_times'].'次';}?></td>
                            <td><?if(empty($tData['driking_total'])){echo '/';}else{echo $tData['driking_total'].'ml'.','.$tData['driking_times'].'次';}?></td>
                        </tr>
                        <tr>
                            <td>大便</td>
                            <td><?if($tSexData['big_status'] == 1){echo '正常';}else if($tSexData['big_status'] == 2){echo '成形';}else if($tSexData['big_status'] == 3){echo '稀便';}else if($tSexData['big_status'] == 4){echo '不成形';}else if($tSexData['big_status'] == 5){echo '浓便';}else if($tSexData['big_status'] == 6){echo '便血';}else if(empty($tSexData['big_status'])){echo '/';}?></td>
                            <td><?if($tFiveData['big_status'] == 1){echo '正常';}else if($tFiveData['big_status'] == 2){echo '成形';}else if($tFiveData['big_status'] == 3){echo '稀便';}else if($tFiveData['big_status'] == 4){echo '不成形';}else if($tFiveData['big_status'] == 5){echo '浓便';}else if($tFiveData['big_status'] == 6){echo '便血';}else if(empty($tFiveData['big_status'])){echo '/';}?></td>
                            <td><?if($tFourData['big_status'] == 1){echo '正常';}else if($tFourData['big_status'] == 2){echo '成形';}else if($tFourData['big_status'] == 3){echo '稀便';}else if($tFourData['big_status'] == 4){echo '不成形';}else if($tFourData['big_status'] == 5){echo '浓便';}else if($tFourData['big_status'] == 6){echo '便血';}else if(empty($tFourData['big_status'])){echo '/';}?></td>
                            <td><?if($tThreeData['big_status'] == 1){echo '正常';}else if($tThreeData['big_status'] == 2){echo '成形';}else if($tThreeData['big_status'] == 3){echo '稀便';}else if($tThreeData['big_status'] == 4){echo '不成形';}else if($tThreeData['big_status'] == 5){echo '浓便';}else if($tThreeData['big_status'] == 6){echo '便血';}else if(empty($tThreeData['big_status'])){echo '/';}?></td>
                            <td><?if($tTwoData['big_status'] == 1){echo '正常';}else if($tTwoData['big_status'] == 2){echo '成形';}else if($tTwoData['big_status'] == 3){echo '稀便';}else if($tTwoData['big_status'] == 4){echo '不成形';}else if($tTwoData['big_status'] == 5){echo '浓便';}else if($tTwoData['big_status'] == 6){echo '便血';}else if(empty($tTwoData['big_status'])){echo '/';}?></td>
                            <td><?if($tOneData['big_status'] == 1){echo '正常';}else if($tOneData['big_status'] == 2){echo '成形';}else if($tOneData['big_status'] == 3){echo '稀便';}else if($tOneData['big_status'] == 4){echo '不成形';}else if($tOneData['big_status'] == 5){echo '浓便';}else if($tOneData['big_status'] == 6){echo '便血';}else if(empty($tOneData['big_status'])){echo '/';}?></td>
                            <td><?if($tData['big_status'] == 1){echo '正常';}else if($tData['big_status'] == 2){echo '成形';}else if($tData['big_status'] == 3){echo '稀便';}else if($tData['big_status'] == 4){echo '不成形';}else if($tData['big_status'] == 5){echo '浓便';}else if($tData['big_status'] == 6){echo '便血';}else if(empty($tData['big_status'])){echo '/';}?></td>
                        </tr>
                        <tr>
                            <td>小便</td>
                            <td><?if($tSexData['small_status'] == 1){echo '正常';}else if($tSexData['small_status'] == 2){echo '浑浊';}else if($tSexData['small_status'] == 3){echo '带血';}else if($tSexData['small_status'] == 4){echo '黄色';}else if($tSexData['small_status'] == 5){echo '淡黄';}else if(empty($tSexData['small_status'])){echo '/';}?></td>
                            <td><?if($tFiveData['small_status'] == 1){echo '正常';}else if($tFiveData['small_status'] == 2){echo '浑浊';}else if($tFiveData['small_status'] == 3){echo '带血';}else if($tFiveData['small_status'] == 4){echo '黄色';}else if($tFiveData['small_status'] == 5){echo '淡黄';}else if(empty($tFiveData['small_status'])){echo '/';}?></td>
                            <td><?if($tFourData['small_status'] == 1){echo '正常';}else if($tFourData['small_status'] == 2){echo '浑浊';}else if($tFourData['small_status'] == 3){echo '带血';}else if($tFourData['small_status'] == 4){echo '黄色';}else if($tFourData['small_status'] == 5){echo '淡黄';}else if(empty($tFourData['small_status'])){echo '/';}?></td>
                            <td><?if($tThreeData['small_status'] == 1){echo '正常';}else if($tThreeData['small_status'] == 2){echo '浑浊';}else if($tThreeData['small_status'] == 3){echo '带血';}else if($tThreeData['small_status'] == 4){echo '黄色';}else if($tThreeData['small_status'] == 5){echo '淡黄';}else if(empty($tThreeData['small_status'])){echo '/';}?></td>
                            <td><?if($tTwoData['small_status'] == 1){echo '正常';}else if($tTwoData['small_status'] == 2){echo '浑浊';}else if($tTwoData['small_status'] == 3){echo '带血';}else if($tTwoData['small_status'] == 4){echo '黄色';}else if($tTwoData['small_status'] == 5){echo '淡黄';}else if(empty($tTwoData['small_status'])){echo '/';}?></td>
                            <td><?if($tOneData['small_status'] == 1){echo '正常';}else if($tOneData['small_status'] == 2){echo '浑浊';}else if($tOneData['small_status'] == 3){echo '带血';}else if($tOneData['small_status'] == 4){echo '黄色';}else if($tOneData['small_status'] == 5){echo '淡黄';}else if(empty($tOneData['small_status'])){echo '/';}?></td>
                            <td><?if($tData['small_status'] == 1){echo '正常';}else if($tData['small_status'] == 2){echo '浑浊';}else if($tData['small_status'] == 3){echo '带血';}else if($tData['small_status'] == 4){echo '黄色';}else if($tData['small_status'] == 5){echo '淡黄';}else if(empty($tData['small_status'])){echo '/';}?></td>
                        </tr>
                        <tr>
        <th rowspan="18">上午</th>
                            <!--<td rowspan="18">上午</td>-->
                            <td>加餐</td>
                            <td><?if($tSexData['sw_appetite'] == 1){echo '少量';}else if($tSexData['sw_appetite'] == 2){echo '一般';}else if($tSexData['sw_appetite'] == 3){echo '大量';}else if(empty($tSexData['sw_appetite'])){echo '/';}?></td>
                            <td><?if($tFiveData['sw_appetite'] == 1){echo '少量';}else if($tFiveData['sw_appetite'] == 2){echo '一般';}else if($tFiveData['sw_appetite'] == 3){echo '大量';}else if(empty($tFiveData['sw_appetite'])){echo '/';}?></td>
                            <td><?if($tFourData['sw_appetite'] == 1){echo '少量';}else if($tFourData['sw_appetite'] == 2){echo '一般';}else if($tFourData['sw_appetite'] == 3){echo '大量';}else if(empty($tFourData['sw_appetite'])){echo '/';}?></td>
                            <td><?if($tThreeData['sw_appetite'] == 1){echo '少量';}else if($tThreeData['sw_appetite'] == 2){echo '一般';}else if($tThreeData['sw_appetite'] == 3){echo '大量';}else if(empty($tThreeData['sw_appetite'])){echo '/';}?></td>
                            <td><?if($tTwoData['sw_appetite'] == 1){echo '少量';}else if($tTwoData['sw_appetite'] == 2){echo '一般';}else if($tTwoData['sw_appetite'] == 3){echo '大量';}else if(empty($tTwoData['sw_appetite'])){echo '/';}?></td>
                            <td><?if($tOneData['sw_appetite'] == 1){echo '少量';}else if($tOneData['sw_appetite'] == 2){echo '一般';}else if($tOneData['sw_appetite'] == 3){echo '大量';}else if(empty($tOneData['sw_appetite'])){echo '/';}?></td>
                            <td><?if($tData['sw_appetite'] == 1){echo '少量';}else if($tData['sw_appetite'] == 2){echo '一般';}else if($tData['sw_appetite'] == 3){echo '大量';}else if(empty($tData['sw_appetite'])){echo '/';}?></td>
                        </tr>
                        <tr>
                            <td>大便</td>
                            <td><?if($tSexData['swbig_status'] == 1){echo '正常';}else if($tSexData['swbig_status'] == 2){echo '成形';}else if($tSexData['swbig_status'] == 3){echo '稀便';}else if($tSexData['swbig_status'] == 4){echo '不成形';}else if($tSexData['swbig_status'] == 5){echo '浓便';}else if($tSexData['swbig_status'] == 6){echo '便血';}else if(empty($tSexData['swbig_status'])){echo '/';}?></td>
                            <td><?if($tFiveData['swbig_status'] == 1){echo '正常';}else if($tFiveData['swbig_status'] == 2){echo '成形';}else if($tFiveData['swbig_status'] == 3){echo '稀便';}else if($tFiveData['swbig_status'] == 4){echo '不成形';}else if($tFiveData['swbig_status'] == 5){echo '浓便';}else if($tFiveData['swbig_status'] == 6){echo '便血';}else if(empty($tFiveData['swbig_status'])){echo '/';}?></td>
                            <td><?if($tFourData['swbig_status'] == 1){echo '正常';}else if($tFourData['swbig_status'] == 2){echo '成形';}else if($tFourData['swbig_status'] == 3){echo '稀便';}else if($tFourData['swbig_status'] == 4){echo '不成形';}else if($tFourData['swbig_status'] == 5){echo '浓便';}else if($tFourData['swbig_status'] == 6){echo '便血';}else if(empty($tFourData['swbig_status'])){echo '/';}?></td>
                            <td><?if($tThreeData['swbig_status'] == 1){echo '正常';}else if($tThreeData['swbig_status'] == 2){echo '成形';}else if($tThreeData['swbig_status'] == 3){echo '稀便';}else if($tThreeData['swbig_status'] == 4){echo '不成形';}else if($tThreeData['swbig_status'] == 5){echo '浓便';}else if($tThreeData['swbig_status'] == 6){echo '便血';}else if(empty($tThreeData['swbig_status'])){echo '/';}?></td>
                            <td><?if($tTwoData['swbig_status'] == 1){echo '正常';}else if($tTwoData['swbig_status'] == 2){echo '成形';}else if($tTwoData['swbig_status'] == 3){echo '稀便';}else if($tTwoData['swbig_status'] == 4){echo '不成形';}else if($tTwoData['swbig_status'] == 5){echo '浓便';}else if($tTwoData['swbig_status'] == 6){echo '便血';}else if(empty($tTwoData['swbig_status'])){echo '/';}?></td>
                            <td><?if($tOneData['swbig_status'] == 1){echo '正常';}else if($tOneData['swbig_status'] == 2){echo '成形';}else if($tOneData['swbig_status'] == 3){echo '稀便';}else if($tOneData['swbig_status'] == 4){echo '不成形';}else if($tOneData['swbig_status'] == 5){echo '浓便';}else if($tOneData['swbig_status'] == 6){echo '便血';}else if(empty($tOneData['swbig_status'])){echo '/';}?></td>
                            <td><?if($tData['swbig_status'] == 1){echo '正常';}else if($tData['swbig_status'] == 2){echo '成形';}else if($tData['swbig_status'] == 3){echo '稀便';}else if($tData['swbig_status'] == 4){echo '不成形';}else if($tData['swbig_status'] == 5){echo '浓便';}else if($tData['swbig_status'] == 6){echo '便血';}else if(empty($tData['swbig_status'])){echo '/';}?></td>
                        </tr>
                        <tr>
                            <td>小便</td>
                            <td><?if($tSexData['swsmall_status'] == 1){echo '正常';}else if($tSexData['swsmall_status'] == 2){echo '浑浊';}else if($tSexData['swsmall_status'] == 3){echo '带血';}else if($tSexData['swsmall_status'] == 4){echo '黄色';}else if($tSexData['swsmall_status'] == 5){echo '淡黄';}else if(empty($tSexData['swsmall_status'])){echo '/';}?></td>
                            <td><?if($tFiveData['swsmall_status'] == 1){echo '正常';}else if($tFiveData['swsmall_status'] == 2){echo '浑浊';}else if($tFiveData['swsmall_status'] == 3){echo '带血';}else if($tFiveData['swsmall_status'] == 4){echo '黄色';}else if($tFiveData['swsmall_status'] == 5){echo '淡黄';}else if(empty($tFiveData['swsmall_status'])){echo '/';}?></td>
                            <td><?if($tFourData['swsmall_status'] == 1){echo '正常';}else if($tFourData['swsmall_status'] == 2){echo '浑浊';}else if($tFourData['swsmall_status'] == 3){echo '带血';}else if($tFourData['swsmall_status'] == 4){echo '黄色';}else if($tFourData['swsmall_status'] == 5){echo '淡黄';}else if(empty($tFourData['swsmall_status'])){echo '/';}?></td>
                            <td><?if($tThreeData['swsmall_status'] == 1){echo '正常';}else if($tThreeData['swsmall_status'] == 2){echo '浑浊';}else if($tThreeData['swsmall_status'] == 3){echo '带血';}else if($tThreeData['swsmall_status'] == 4){echo '黄色';}else if($tThreeData['swsmall_status'] == 5){echo '淡黄';}else if(empty($tThreeData['swsmall_status'])){echo '/';}?></td>
                            <td><?if($tTwoData['swsmall_status'] == 1){echo '正常';}else if($tTwoData['swsmall_status'] == 2){echo '浑浊';}else if($tTwoData['swsmall_status'] == 3){echo '带血';}else if($tTwoData['swsmall_status'] == 4){echo '黄色';}else if($tTwoData['swsmall_status'] == 5){echo '淡黄';}else if(empty($tTwoData['swsmall_status'])){echo '/';}?></td>
                            <td><?if($tOneData['swsmall_status'] == 1){echo '正常';}else if($tOneData['swsmall_status'] == 2){echo '浑浊';}else if($tOneData['swsmall_status'] == 3){echo '带血';}else if($tOneData['swsmall_status'] == 4){echo '黄色';}else if($tOneData['swsmall_status'] == 5){echo '淡黄';}else if(empty($tOneData['swsmall_status'])){echo '/';}?></td>
                            <td><?if($tData['swsmall_status'] == 1){echo '正常';}else if($tData['swsmall_status'] == 2){echo '浑浊';}else if($tData['swsmall_status'] == 3){echo '带血';}else if($tData['swsmall_status'] == 4){echo '黄色';}else if($tData['swsmall_status'] == 5){echo '淡黄';}else if(empty($tData['swsmall_status'])){echo '/';}?></td>
                        </tr>
                        <tr>
                            <td>仪表</td>
                            <td><?=empty($tSexData['sw_appearance'])?'/':$tSexData['sw_appearance']?></td>
                            <td><?=empty($tFiveData['sw_appearance'])?'/':$tFiveData['sw_appearance']?></td>
                            <td><?=empty($tFourData['sw_appearance'])?'/':$tFourData['sw_appearance']?></td>
                            <td><?=empty($tThreeData['sw_appearance'])?'/':$tThreeData['sw_appearance']?></td>
                            <td><?=empty($tTwoData['sw_appearance'])?'/':$tTwoData['sw_appearance']?></td>
                            <td><?=empty($tOneData['sw_appearance'])?'/':$tOneData['sw_appearance']?></td>
                            <td><?=empty($tData['sw_appearance'])?'/':$tData['sw_appearance']?></td>
                        </tr>
                        <tr>
                            <td>枕头</td>
                            <td><?if($tSexData['pillow_status'] == 1){echo '清扫';}else if($tSexData['pillow_status'] == 2){echo '换洗';}else if(empty($tSexData['pillow_status'])){echo '/';}?></td>
                            <td><?if($tFiveData['pillow_status'] == 1){echo '清扫';}else if($tFiveData['pillow_status'] == 2){echo '换洗';}else if(empty($tFiveData['pillow_status'])){echo '/';}?></td>
                            <td><?if($tFourData['pillow_status'] == 1){echo '清扫';}else if($tFourData['pillow_status'] == 2){echo '换洗';}else if(empty($tFourData['pillow_status'])){echo '/';}?></td>
                            <td><?if($tThreeData['pillow_status'] == 1){echo '清扫';}else if($tThreeData['pillow_status'] == 2){echo '换洗';}else if(empty($tThreeData['pillow_status'])){echo '/';}?></td>
                            <td><?if($tTwoData['pillow_status'] == 1){echo '清扫';}else if($tTwoData['pillow_status'] == 2){echo '换洗';}else if(empty($tTwoData['pillow_status'])){echo '/';}?></td>
                            <td><?if($tOneData['pillow_status'] == 1){echo '清扫';}else if($tOneData['pillow_status'] == 2){echo '换洗';}else if(empty($tOneData['pillow_status'])){echo '/';}?></td>
                            <td><?if($tData['pillow_status'] == 1){echo '清扫';}else if($tData['pillow_status'] == 2){echo '换洗';}else if(empty($tData['pillow_status'])){echo '/';}?></td>
                        </tr>
                        <tr>
                            <td>枕巾</td>
                            <td><?if($tSexData['pillowcovers_status'] == 1){echo '清扫';}else if($tSexData['pillowcovers_status'] == 2){echo '换洗';}else if(empty($tSexData['pillowcovers_status'])){echo '/';}?></td>
                            <td><?if($tFiveData['pillowcovers_status'] == 1){echo '清扫';}else if($tFiveData['pillowcovers_status'] == 2){echo '换洗';}else if(empty($tFiveData['pillowcovers_status'])){echo '/';}?></td>
                            <td><?if($tFourData['pillowcovers_status'] == 1){echo '清扫';}else if($tFourData['pillowcovers_status'] == 2){echo '换洗';}else if(empty($tFourData['pillowcovers_status'])){echo '/';}?></td>
                            <td><?if($tThreeData['pillowcovers_status'] == 1){echo '清扫';}else if($tThreeData['pillowcovers_status'] == 2){echo '换洗';}else if(empty($tThreeData['pillowcovers_status'])){echo '/';}?></td>
                            <td><?if($tTwoData['pillowcovers_status'] == 1){echo '清扫';}else if($tTwoData['pillowcovers_status'] == 2){echo '换洗';}else if(empty($tTwoData['pillowcovers_status'])){echo '/';}?></td>
                            <td><?if($tOneData['pillowcovers_status'] == 1){echo '清扫';}else if($tOneData['pillowcovers_status'] == 2){echo '换洗';}else if(empty($tOneData['pillowcovers_status'])){echo '/';}?></td>
                            <td><?if($tData['pillowcovers_status'] == 1){echo '清扫';}else if($tData['pillowcovers_status'] == 2){echo '换洗';}else if(empty($tData['pillowcovers_status'])){echo '/';}?></td>
                        </tr>
                        <tr>
                            <td>枕头罩</td>
                            <td><?if($tSexData['pillowcase_status'] == 1){echo '清扫';}else if($tSexData['pillowcase_status'] == 2){echo '换洗';}else if(empty($tSexData['pillowcase_status'])){echo '/';}?></td>
                            <td><?if($tFiveData['pillowcase_status'] == 1){echo '清扫';}else if($tFiveData['pillowcase_status'] == 2){echo '换洗';}else if(empty($tFiveData['pillowcase_status'])){echo '/';}?></td>
                            <td><?if($tFourData['pillowcase_status'] == 1){echo '清扫';}else if($tFourData['pillowcase_status'] == 2){echo '换洗';}else if(empty($tFourData['pillowcase_status'])){echo '/';}?></td>
                            <td><?if($tThreeData['pillowcase_status'] == 1){echo '清扫';}else if($tThreeData['pillowcase_status'] == 2){echo '换洗';}else if(empty($tThreeData['pillowcase_status'])){echo '/';}?></td>
                            <td><?if($tTwoData['pillowcase_status'] == 1){echo '清扫';}else if($tTwoData['pillowcase_status'] == 2){echo '换洗';}else if(empty($tTwoData['pillowcase_status'])){echo '/';}?></td>
                            <td><?if($tOneData['pillowcase_status'] == 1){echo '清扫';}else if($tOneData['pillowcase_status'] == 2){echo '换洗';}else if(empty($tOneData['pillowcase_status'])){echo '/';}?></td>
                            <td><?if($tData['pillowcase_status'] == 1){echo '清扫';}else if($tData['pillowcase_status'] == 2){echo '换洗';}else if(empty($tData['pillowcase_status'])){echo '/';}?></td>
                        </tr>
                        <tr>
                            <td>床单</td>
                            <td><?if($tSexData['sheets_status'] == 1){echo '清扫';}else if($tSexData['sheets_status'] == 2){echo '换洗';}else if(empty($tSexData['sheets_status'])){echo '/';}?></td>
                            <td><?if($tFiveData['sheets_status'] == 1){echo '清扫';}else if($tFiveData['sheets_status'] == 2){echo '换洗';}else if(empty($tFiveData['sheets_status'])){echo '/';}?></td>
                            <td><?if($tFourData['sheets_status'] == 1){echo '清扫';}else if($tFourData['sheets_status'] == 2){echo '换洗';}else if(empty($tFourData['sheets_status'])){echo '/';}?></td>
                            <td><?if($tThreeData['sheets_status'] == 1){echo '清扫';}else if($tThreeData['sheets_status'] == 2){echo '换洗';}else if(empty($tThreeData['sheets_status'])){echo '/';}?></td>
                            <td><?if($tTwoData['sheets_status'] == 1){echo '清扫';}else if($tTwoData['sheets_status'] == 2){echo '换洗';}else if(empty($tTwoData['sheets_status'])){echo '/';}?></td>
                            <td><?if($tOneData['sheets_status'] == 1){echo '清扫';}else if($tOneData['sheets_status'] == 2){echo '换洗';}else if(empty($tOneData['sheets_status'])){echo '/';}?></td>
                            <td><?if($tData['sheets_status'] == 1){echo '清扫';}else if($tData['sheets_status'] == 2){echo '换洗';}else if(empty($tData['sheets_status'])){echo '/';}?></td>
                        </tr>
                        <tr>
                            <td>床垫</td>
                            <td><?if($tSexData['mattess_status'] == 1){echo '清扫';}else if($tSexData['mattess_status'] == 2){echo '换洗';}else if(empty($tSexData['mattess_status'])){echo '/';}?></td>
                            <td><?if($tFiveData['mattess_status'] == 1){echo '清扫';}else if($tFiveData['mattess_status'] == 2){echo '换洗';}else if(empty($tFiveData['mattess_status'])){echo '/';}?></td>
                            <td><?if($tFourData['mattess_status'] == 1){echo '清扫';}else if($tFourData['mattess_status'] == 2){echo '换洗';}else if(empty($tFourData['mattess_status'])){echo '/';}?></td>
                            <td><?if($tThreeData['mattess_status'] == 1){echo '清扫';}else if($tThreeData['mattess_status'] == 2){echo '换洗';}else if(empty($tThreeData['mattess_status'])){echo '/';}?></td>
                            <td><?if($tTwoData['mattess_status'] == 1){echo '清扫';}else if($tTwoData['mattess_status'] == 2){echo '换洗';}else if(empty($tTwoData['mattess_status'])){echo '/';}?></td>
                            <td><?if($tOneData['mattess_status'] == 1){echo '清扫';}else if($tOneData['mattess_status'] == 2){echo '换洗';}else if(empty($tOneData['mattess_status'])){echo '/';}?></td>
                            <td><?if($tData['mattess_status'] == 1){echo '清扫';}else if($tData['mattess_status'] == 2){echo '换洗';}else if(empty($tData['mattess_status'])){echo '/';}?></td>
                        </tr>
                        <tr>
                            <td>被子</td>
                            <td><?if($tSexData['quilt_status'] == 1){echo '清扫';}else if($tSexData['quilt_status'] == 2){echo '换洗';}else if(empty($tSexData['quilt_status'])){echo '/';}?></td>
                            <td><?if($tFiveData['quilt_status'] == 1){echo '清扫';}else if($tFiveData['quilt_status'] == 2){echo '换洗';}else if(empty($tFiveData['quilt_status'])){echo '/';}?></td>
                            <td><?if($tFourData['quilt_status'] == 1){echo '清扫';}else if($tFourData['quilt_status'] == 2){echo '换洗';}else if(empty($tFourData['quilt_status'])){echo '/';}?></td>
                            <td><?if($tThreeData['quilt_status'] == 1){echo '清扫';}else if($tThreeData['quilt_status'] == 2){echo '换洗';}else if(empty($tThreeData['quilt_status'])){echo '/';}?></td>
                            <td><?if($tTwoData['quilt_status'] == 1){echo '清扫';}else if($tTwoData['quilt_status'] == 2){echo '换洗';}else if(empty($tTwoData['quilt_status'])){echo '/';}?></td>
                            <td><?if($tOneData['quilt_status'] == 1){echo '清扫';}else if($tOneData['quilt_status'] == 2){echo '换洗';}else if(empty($tOneData['quilt_status'])){echo '/';}?></td>
                            <td><?if($tData['quilt_status'] == 1){echo '清扫';}else if($tData['quilt_status'] == 2){echo '换洗';}else if(empty($tData['quilt_status'])){echo '/';}?></td>
                        </tr>
                        <tr>
                            <td>被罩</td>
                            <td><?if($tSexData['quiltcover_status'] == 1){echo '清扫';}else if($tSexData['quiltcover_status'] == 2){echo '换洗';}else if(empty($tSexData['quiltcover_status'])){echo '/';}?></td>
                            <td><?if($tFiveData['quiltcover_status'] == 1){echo '清扫';}else if($tFiveData['quiltcover_status'] == 2){echo '换洗';}else if(empty($tFiveData['quiltcover_status'])){echo '/';}?></td>
                            <td><?if($tFourData['quiltcover_status'] == 1){echo '清扫';}else if($tFourData['quiltcover_status'] == 2){echo '换洗';}else if(empty($tFourData['quiltcover_status'])){echo '/';}?></td>
                            <td><?if($tThreeData['quiltcover_status'] == 1){echo '清扫';}else if($tThreeData['quiltcover_status'] == 2){echo '换洗';}else if(empty($tThreeData['quiltcover_status'])){echo '/';}?></td>
                            <td><?if($tTwoData['quiltcover_status'] == 1){echo '清扫';}else if($tTwoData['quiltcover_status'] == 2){echo '换洗';}else if(empty($tTwoData['quiltcover_status'])){echo '/';}?></td>
                            <td><?if($tOneData['quiltcover_status'] == 1){echo '清扫';}else if($tOneData['quiltcover_status'] == 2){echo '换洗';}else if(empty($tOneData['quiltcover_status'])){echo '/';}?></td>
                            <td><?if($tData['quiltcover_status'] == 1){echo '清扫';}else if($tData['quiltcover_status'] == 2){echo '换洗';}else if(empty($tData['quiltcover_status'])){echo '/';}?></td>
                        </tr>
                        <tr>
                            <td>红外线照射</td>
                            <td><?=empty($tSexData['hwx'])?'/':$tSexData['hwx']?></td>
                            <td><?=empty($tFiveData['hwx'])?'/':$tFiveData['hwx']?></td>
                            <td><?=empty($tFourData['hwx'])?'/':$tFourData['hwx']?></td>
                            <td><?=empty($tThreeData['hwx'])?'/':$tThreeData['hwx']?></td>
                            <td><?=empty($tTwoData['hwx'])?'/':$tTwoData['hwx']?></td>
                            <td><?=empty($tOneData['hwx'])?'/':$tOneData['hwx']?></td>
                            <td><?=empty($tData['hwx'])?'/':$tData['hwx']?></td>
                        </tr>
                        <tr>
                            <td>康复按摩</td>
                            <td><?=empty($tSexData['kf'])?'/':$tSexData['kf']?></td>
                            <td><?=empty($tFiveData['kf'])?'/':$tFiveData['kf']?></td>
                            <td><?=empty($tFourData['kf'])?'/':$tFourData['kf']?></td>
                            <td><?=empty($tThreeData['kf'])?'/':$tThreeData['kf']?></td>
                            <td><?=empty($tTwoData['kf'])?'/':$tTwoData['kf']?></td>
                            <td><?=empty($tOneData['kf'])?'/':$tOneData['kf']?></td>
                            <td><?=empty($tData['kf'])?'/':$tData['kf']?></td>
                        </tr>
                        <tr>
                            <td>室外运动</td>
                            <td><?=empty($tSexData['sw'])?'/':$tSexData['sw']?></td>
                            <td><?=empty($tFiveData['sw'])?'/':$tFiveData['sw']?></td>
                            <td><?=empty($tFourData['sw'])?'/':$tFourData['sw']?></td>
                            <td><?=empty($tThreeData['sw'])?'/':$tThreeData['sw']?></td>
                            <td><?=empty($tTwoData['sw'])?'/':$tTwoData['sw']?></td>
                            <td><?=empty($tOneData['sw'])?'/':$tOneData['sw']?></td>
                            <td><?=empty($tData['sw'])?'/':$tData['sw']?></td>
                        </tr>
                        <tr>
                            <td>室内运动</td>
                            <td><?=empty($tSexData['sn'])?'/':$tSexData['sn']?></td>
                            <td><?=empty($tFiveData['sn'])?'/':$tFiveData['sn']?></td>
                            <td><?=empty($tFourData['sn'])?'/':$tFourData['sn']?></td>
                            <td><?=empty($tThreeData['sn'])?'/':$tThreeData['sn']?></td>
                            <td><?=empty($tTwoData['sn'])?'/':$tTwoData['sn']?></td>
                            <td><?=empty($tOneData['sn'])?'/':$tOneData['sn']?></td>
                            <td><?=empty($tData['sn'])?'/':$tData['sn']?></td>
                        </tr>
                        <tr>
                            <td>内衣</td>
                            <td><?=empty($tSexData['underdress'])?'/':$tSexData['underdress']?></td>
                            <td><?=empty($tFiveData['underdress'])?'/':$tFiveData['underdress']?></td>
                            <td><?=empty($tFourData['underdress'])?'/':$tFourData['underdress']?></td>
                            <td><?=empty($tThreeData['underdress'])?'/':$tThreeData['underdress']?></td>
                            <td><?=empty($tTwoData['underdress'])?'/':$tTwoData['underdress']?></td>
                            <td><?=empty($tOneData['underdress'])?'/':$tOneData['underdress']?></td>
                            <td><?=empty($tData['underdress'])?'/':$tData['underdress']?></td>
                        </tr>
                        <tr>
                            <td>外衣</td>
                            <td><?=empty($tSexData['coat'])?'/':$tSexData['coat']?></td>
                            <td><?=empty($tFiveData['coat'])?'/':$tFiveData['coat']?></td>
                            <td><?=empty($tFourData['coat'])?'/':$tFourData['coat']?></td>
                            <td><?=empty($tThreeData['coat'])?'/':$tThreeData['coat']?></td>
                            <td><?=empty($tTwoData['coat'])?'/':$tTwoData['coat']?></td>
                            <td><?=empty($tOneData['coat'])?'/':$tOneData['coat']?></td>
                            <td><?=empty($tData['coat'])?'/':$tData['coat']?></td>
                        </tr>
                        <tr>
                            <td>探视</td>
                            <td><?if(empty($tSexData['relative']) && !empty($tSexData['friend'])){echo $tSexData['friend'];}else if(empty($tSexData['friend']) && !empty($tSexData['relative'])){echo $tSexData['relative'];}else if(!empty($tSexData['relative']) && !empty($tSexData['friend'])){echo $tSexData['relative'].','.$tSexData['friend'];}else{echo '/';}?></td>
                            <td><?if(empty($tFiveData['relative']) && !empty($tFiveData['friend'])){echo $tFiveData['friend'];}else if(empty($tFiveData['friend']) && !empty($tFiveData['relative'])){echo $tFiveData['relative'];}else if(!empty($tFiveData['relative']) && !empty($tFiveData['friend'])){echo $tFiveData['relative'].','.$tFiveData['friend'];}else{echo '/';}?></td>
                            <td><?if(empty($tFourData['relative']) && !empty($tFourData['friend'])){echo $tFourData['friend'];}else if(empty($tFourData['friend']) && !empty($tFourData['relative'])){echo $tFourData['relative'];}else if(!empty($tFourData['relative']) && !empty($tFourData['friend'])){echo $tFourData['relative'].','.$tFourData['friend'];}else{echo '/';}?></td>
                            <td><?if(empty($tThreeData['relative']) && !empty($tThreeData['friend'])){echo $tThreeData['friend'];}else if(empty($tThreeData['friend']) && !empty($tThreeData['relative'])){echo $tThreeData['relative'];}else if(!empty($tThreeData['relative']) && !empty($tThreeData['friend'])){echo $tThreeData['relative'].','.$tThreeData['friend'];}else{echo '/';}?></td>
                            <td><?if(empty($tTwoData['relative']) && !empty($tTwoData['friend'])){echo $tTwoData['friend'];}else if(empty($tTwoData['friend']) && !empty($tTwoData['relative'])){echo $tTwoData['relative'];}else if(!empty($tTwoData['relative']) && !empty($tTwoData['friend'])){echo $tTwoData['relative'].','.$tTwoData['friend'];}else{echo '/';}?></td>
                            <td><?if(empty($tOneData['relative']) && !empty($tOneData['friend'])){echo $tOneData['friend'];}else if(empty($tOneData['friend']) && !empty($tOneData['relative'])){echo $tOneData['relative'];}else if(!empty($tOneData['relative']) && !empty($tOneData['friend'])){echo $tOneData['relative'].','.$tOneData['friend'];}else{echo '/';}?></td>
                            <td><?if(empty($tData['relative']) && !empty($tData['friend'])){echo $tData['friend'];}else if(empty($tData['friend']) && !empty($tData['relative'])){echo $tData['relative'];}else if(!empty($tData['relative']) && !empty($tData['friend'])){echo $tData['relative'].','.$tData['friend'];}else{echo '/';}?></td>
                        </tr>
                        <tr>
        <th rowspan="4">中午</th>
                            <!--<td rowspan="4">中午</td>-->
                            <td>胰岛素</td>
                            <td><?=empty($tSexData['insulin'])?'/':$tSexData['insulin']?></td>
                            <td><?=empty($tFiveData['insulin'])?'/':$tFiveData['insulin']?></td>
                            <td><?=empty($tFourData['insulin'])?'/':$tFourData['insulin']?></td>
                            <td><?=empty($tThreeData['insulin'])?'/':$tThreeData['insulin']?></td>
                            <td><?=empty($tTwoData['insulin'])?'/':$tTwoData['insulin']?></td>
                            <td><?=empty($tOneData['insulin'])?'/':$tOneData['insulin']?></td>
                            <td><?=empty($tData['insulin'])?'/':$tData['insulin']?></td>
                        </tr>
                            <td>用饭</td>
                            <td><?if($tSexData['zw_appetite'] == 1){echo '少量';}else if($tSexData['zw_appetite'] == 2){echo '一般';}else if($tSexData['zw_appetite'] == 3){echo '大量';}else if(empty($tSexData['zw_appetite'])){echo '/';}?></td>
                            <td><?if($tFiveData['zw_appetite'] == 1){echo '少量';}else if($tFiveData['zw_appetite'] == 2){echo '一般';}else if($tFiveData['zw_appetite'] == 3){echo '大量';}else if(empty($tFiveData['zw_appetite'])){echo '/';}?></td>
                            <td><?if($tFourData['zw_appetite'] == 1){echo '少量';}else if($tFourData['zw_appetite'] == 2){echo '一般';}else if($tFourData['zw_appetite'] == 3){echo '大量';}else if(empty($tFourData['zw_appetite'])){echo '/';}?></td>
                            <td><?if($tThreeData['zw_appetite'] == 1){echo '少量';}else if($tThreeData['zw_appetite'] == 2){echo '一般';}else if($tThreeData['zw_appetite'] == 3){echo '大量';}else if(empty($tThreeData['zw_appetite'])){echo '/';}?></td>
                            <td><?if($tTwoData['zw_appetite'] == 1){echo '少量';}else if($tTwoData['zw_appetite'] == 2){echo '一般';}else if($tTwoData['zw_appetite'] == 3){echo '大量';}else if(empty($tTwoData['zw_appetite'])){echo '/';}?></td>
                            <td><?if($tOneData['zw_appetite'] == 1){echo '少量';}else if($tOneData['zw_appetite'] == 2){echo '一般';}else if($tOneData['zw_appetite'] == 3){echo '大量';}else if(empty($tOneData['zw_appetite'])){echo '/';}?></td>
                            <td><?if($tData['zw_appetite'] == 1){echo '少量';}else if($tData['zw_appetite'] == 2){echo '一般';}else if($tData['zw_appetite'] == 3){echo '大量';}else if(empty($tData['zw_appetite'])){echo '/';}?></td>
                        </tr>
                            <td>用药</td>
                            <td><?if(empty($tSexData['zw_medicine_yi']) && empty($tSexData['zw_medicine_jj'])){echo '/';}else{echo '已用药:'.$tSexData['zw_medicine_yi']['medicine_name'].'<br/>'.'拒绝用药:'.$tSexData['zw_medicine_jj']['medicine_name'];}?></td>
                            <td><?if(empty($tFiveData['zw_medicine_yi']) && empty($tFiveData['zw_medicine_jj'])){echo '/';}else{echo '已用药:'.$tFiveData['zw_medicine_yi']['medicine_name'].'<br/>'.'拒绝用药:'.$tFiveData['zw_medicine_jj']['medicine_name'];}?></td>
                            <td><?if(empty($tFourData['zw_medicine_yi']) && empty($tFourData['zw_medicine_jj'])){echo '/';}else{echo '已用药:'.$tFourData['zw_medicine_yi']['medicine_name'].'<br/>'.'拒绝用药:'.$tFourData['zw_medicine_jj']['medicine_name'];}?></td>
                            <td><?if(empty($tThreeData['zw_medicine_yi']) && empty($tThreeData['zw_medicine_jj'])){echo '/';}else{echo '已用药:'.$tThreeData['zw_medicine_yi']['medicine_name'].'<br/>'.'拒绝用药:'.$tThreeData['zw_medicine_jj']['medicine_name'];}?></td>
                            <td><?if(empty($tTwoData['zw_medicine_yi']) && empty($tTwoData['zw_medicine_jj'])){echo '/';}else{echo '已用药:'.$tTwoData['zw_medicine_yi']['medicine_name'].'<br/>'.'拒绝用药:'.$tTwoData['zw_medicine_jj']['medicine_name'];}?></td>
                            <td><?if(empty($tOneData['zw_medicine_yi']) && empty($tOneData['zw_medicine_jj'])){echo '/';}else{echo '已用药:'.$tOneData['zw_medicine_yi']['medicine_name'].'<br/>'.'拒绝用药:'.$tOneData['zw_medicine_jj']['medicine_name'];}?></td>
                            <td><?if(empty($tData['zw_medicine_yi']) && empty($tData['zw_medicine_jj'])){echo '/';}else{echo '已用药:'.$tData['zw_medicine_yi'].'<br/>'.'拒绝用药:'.$tData['zw_medicine_jj'];}?></td>
                        </tr>
                        </tr>
                            <td>午睡</td>
                            <td><?=empty($tSexData['siesta'])?'/':$tSexData['siesta']?></td>
                            <td><?=empty($tFiveData['siesta'])?'/':$tFiveData['siesta']?></td>
                            <td><?=empty($tFourData['siesta'])?'/':$tFourData['siesta']?></td>
                            <td><?=empty($tThreeData['siesta'])?'/':$tThreeData['siesta']?></td>
                            <td><?=empty($tTwoData['siesta'])?'/':$tTwoData['siesta']?></td>
                            <td><?=empty($tOneData['siesta'])?'/':$tOneData['siesta']?></td>
                            <td><?=empty($tData['siesta'])?'/':$tData['siesta']?></td>
                        </tr>
                        <tr>
      <th rowspan="16">下午</th>
                            <!--<td rowspan="16">下午</td>-->
                            <td>加餐</td>
                            <td><?if($tSexData['xw_appetite'] == 1){echo '少量';}else if($tSexData['xw_appetite'] == 2){echo '一般';}else if($tSexData['xw_appetite'] == 3){echo '大量';}else if(empty($tSexData['xw_appetite'])){echo '/';}?></td>
                            <td><?if($tFiveData['xw_appetite'] == 1){echo '少量';}else if($tFiveData['xw_appetite'] == 2){echo '一般';}else if($tFiveData['xw_appetite'] == 3){echo '大量';}else if(empty($tFiveData['xw_appetite'])){echo '/';}?></td>
                            <td><?if($tFourData['xw_appetite'] == 1){echo '少量';}else if($tFourData['xw_appetite'] == 2){echo '一般';}else if($tFourData['xw_appetite'] == 3){echo '大量';}else if(empty($tFourData['xw_appetite'])){echo '/';}?></td>
                            <td><?if($tThreeData['xw_appetite'] == 1){echo '少量';}else if($tThreeData['xw_appetite'] == 2){echo '一般';}else if($tThreeData['xw_appetite'] == 3){echo '大量';}else if(empty($tThreeData['xw_appetite'])){echo '/';}?></td>
                            <td><?if($tTwoData['xw_appetite'] == 1){echo '少量';}else if($tTwoData['xw_appetite'] == 2){echo '一般';}else if($tTwoData['xw_appetite'] == 3){echo '大量';}else if(empty($tTwoData['xw_appetite'])){echo '/';}?></td>
                            <td><?if($tOneData['xw_appetite'] == 1){echo '少量';}else if($tOneData['xw_appetite'] == 2){echo '一般';}else if($tOneData['xw_appetite'] == 3){echo '大量';}else if(empty($tOneData['xw_appetite'])){echo '/';}?></td>
                            <td><?if($tData['xw_appetite'] == 1){echo '少量';}else if($tData['xw_appetite'] == 2){echo '一般';}else if($tData['xw_appetite'] == 3){echo '大量';}else if(empty($tData['xw_appetite'])){echo '/';}?></td>
                        </tr>
                        <tr>
                            <td>仪表</td>
                            <td><?=empty($tSexData['xw_appearance'])?'/':$tSexData['xw_appearance']?></td>
                            <td><?=empty($tFiveData['xw_appearance'])?'/':$tFiveData['xw_appearance']?></td>
                            <td><?=empty($tFourData['xw_appearance'])?'/':$tFourData['xw_appearance']?></td>
                            <td><?=empty($tThreeData['xw_appearance'])?'/':$tThreeData['xw_appearance']?></td>
                            <td><?=empty($tTwoData['xw_appearance'])?'/':$tTwoData['xw_appearance']?></td>
                            <td><?=empty($tOneData['xw_appearance'])?'/':$tOneData['xw_appearance']?></td>
                            <td><?=empty($tData['xw_appearance'])?'/':$tData['xw_appearance']?></td>
                        </tr>
                        <tr>
                            <td>枕头</td>
                            <td><?if($tSexData['xw_pillow_status'] == 1){echo '清扫';}else if($tSexData['xw_pillow_status'] == 2){echo '换洗';}else if(empty($tSexData['xw_pillow_status'])){echo '/';}?></td>
                            <td><?if($tFiveData['xw_pillow_status'] == 1){echo '清扫';}else if($tFiveData['xw_pillow_status'] == 2){echo '换洗';}else if(empty($tFiveData['xw_pillow_status'])){echo '/';}?></td>
                            <td><?if($tFourData['xw_pillow_status'] == 1){echo '清扫';}else if($tFourData['xw_pillow_status'] == 2){echo '换洗';}else if(empty($tFourData['xw_pillow_status'])){echo '/';}?></td>
                            <td><?if($tThreeData['xw_pillow_status'] == 1){echo '清扫';}else if($tThreeData['xw_pillow_status'] == 2){echo '换洗';}else if(empty($tThreeData['xw_pillow_status'])){echo '/';}?></td>
                            <td><?if($tTwoData['xw_pillow_status'] == 1){echo '清扫';}else if($tTwoData['xw_pillow_status'] == 2){echo '换洗';}else if(empty($tTwoData['xw_pillow_status'])){echo '/';}?></td>
                            <td><?if($tOneData['xw_pillow_status'] == 1){echo '清扫';}else if($tOneData['xw_pillow_status'] == 2){echo '换洗';}else if(empty($tOneData['xw_pillow_status'])){echo '/';}?></td>
                            <td><?if($tData['xw_pillow_status'] == 1){echo '清扫';}else if($tData['xw_pillow_status'] == 2){echo '换洗';}else if(empty($tData['xw_pillow_status'])){echo '/';}?></td>
                        </tr>
                        <tr>
                            <td>枕巾</td>
                            <td><?if($tSexData['xw_pillowcovers_status'] == 1){echo '清扫';}else if($tSexData['xw_pillowcovers_status'] == 2){echo '换洗';}else if(empty($tSexData['xw_pillowcovers_status'])){echo '/';}?></td>
                            <td><?if($tFiveData['xw_pillowcovers_status'] == 1){echo '清扫';}else if($tFiveData['xw_pillowcovers_status'] == 2){echo '换洗';}else if(empty($tFiveData['xw_pillowcovers_status'])){echo '/';}?></td>
                            <td><?if($tFourData['xw_pillowcovers_status'] == 1){echo '清扫';}else if($tFourData['xw_pillowcovers_status'] == 2){echo '换洗';}else if(empty($tFourData['xw_pillowcovers_status'])){echo '/';}?></td>
                            <td><?if($tThreeData['xw_pillowcovers_status'] == 1){echo '清扫';}else if($tThreeData['xw_pillowcovers_status'] == 2){echo '换洗';}else if(empty($tThreeData['xw_pillowcovers_status'])){echo '/';}?></td>
                            <td><?if($tTwoData['xw_pillowcovers_status'] == 1){echo '清扫';}else if($tTwoData['xw_pillowcovers_status'] == 2){echo '换洗';}else if(empty($tTwoData['xw_pillowcovers_status'])){echo '/';}?></td>
                            <td><?if($tOneData['xw_pillowcovers_status'] == 1){echo '清扫';}else if($tOneData['xw_pillowcovers_status'] == 2){echo '换洗';}else if(empty($tOneData['xw_pillowcovers_status'])){echo '/';}?></td>
                            <td><?if($tData['xw_pillowcovers_status'] == 1){echo '清扫';}else if($tData['xw_pillowcovers_status'] == 2){echo '换洗';}else if(empty($tData['xw_pillowcovers_status'])){echo '/';}?></td>
                        </tr>
                        <tr>
                            <td>枕头罩</td>
                            <td><?if($tSexData['xw_pillowcase_status'] == 1){echo '清扫';}else if($tSexData['xw_pillowcase_status'] == 2){echo '换洗';}else if(empty($tSexData['xw_pillowcase_status'])){echo '/';}?></td>
                            <td><?if($tFiveData['xw_pillowcase_status'] == 1){echo '清扫';}else if($tFiveData['xw_pillowcase_status'] == 2){echo '换洗';}else if(empty($tFiveData['xw_pillowcase_status'])){echo '/';}?></td>
                            <td><?if($tFourData['xw_pillowcase_status'] == 1){echo '清扫';}else if($tFourData['xw_pillowcase_status'] == 2){echo '换洗';}else if(empty($tFourData['xw_pillowcase_status'])){echo '/';}?></td>
                            <td><?if($tThreeData['xw_pillowcase_status'] == 1){echo '清扫';}else if($tThreeData['xw_pillowcase_status'] == 2){echo '换洗';}else if(empty($tThreeData['xw_pillowcase_status'])){echo '/';}?></td>
                            <td><?if($tTwoData['xw_pillowcase_status'] == 1){echo '清扫';}else if($tTwoData['xw_pillowcase_status'] == 2){echo '换洗';}else if(empty($tTwoData['xw_pillowcase_status'])){echo '/';}?></td>
                            <td><?if($tOneData['xw_pillowcase_status'] == 1){echo '清扫';}else if($tOneData['xw_pillowcase_status'] == 2){echo '换洗';}else if(empty($tOneData['xw_pillowcase_status'])){echo '/';}?></td>
                            <td><?if($tData['xw_pillowcase_status'] == 1){echo '清扫';}else if($tData['xw_pillowcase_status'] == 2){echo '换洗';}else if(empty($tData['xw_pillowcase_status'])){echo '/';}?></td>
                        </tr>
                        <tr>
                            <td>床单</td>
                            <td><?if($tSexData['xw_sheets_status'] == 1){echo '清扫';}else if($tSexData['xw_sheets_status'] == 2){echo '换洗';}else if(empty($tSexData['xw_sheets_status'])){echo '/';}?></td>
                            <td><?if($tFiveData['xw_sheets_status'] == 1){echo '清扫';}else if($tFiveData['xw_sheets_status'] == 2){echo '换洗';}else if(empty($tFiveData['xw_sheets_status'])){echo '/';}?></td>
                            <td><?if($tFourData['xw_sheets_status'] == 1){echo '清扫';}else if($tFourData['xw_sheets_status'] == 2){echo '换洗';}else if(empty($tFourData['xw_sheets_status'])){echo '/';}?></td>
                            <td><?if($tThreeData['xw_sheets_status'] == 1){echo '清扫';}else if($tThreeData['xw_sheets_status'] == 2){echo '换洗';}else if(empty($tThreeData['xw_sheets_status'])){echo '/';}?></td>
                            <td><?if($tTwoData['xw_sheets_status'] == 1){echo '清扫';}else if($tTwoData['xw_sheets_status'] == 2){echo '换洗';}else if(empty($tTwoData['xw_sheets_status'])){echo '/';}?></td>
                            <td><?if($tOneData['xw_sheets_status'] == 1){echo '清扫';}else if($tOneData['xw_sheets_status'] == 2){echo '换洗';}else if(empty($tOneData['xw_sheets_status'])){echo '/';}?></td>
                            <td><?if($tData['xw_sheets_status'] == 1){echo '清扫';}else if($tData['xw_sheets_status'] == 2){echo '换洗';}else if(empty($tData['xw_sheets_status'])){echo '/';}?></td>
                        </tr>
                        <tr>
                            <td>床垫</td>
                            <td><?if($tSexData['xw_mattess_status'] == 1){echo '清扫';}else if($tSexData['xw_mattess_status'] == 2){echo '换洗';}else if(empty($tSexData['xw_mattess_status'])){echo '/';}?></td>
                            <td><?if($tFiveData['xw_mattess_status'] == 1){echo '清扫';}else if($tFiveData['xw_mattess_status'] == 2){echo '换洗';}else if(empty($tFiveData['xw_mattess_status'])){echo '/';}?></td>
                            <td><?if($tFourData['xw_mattess_status'] == 1){echo '清扫';}else if($tFourData['xw_mattess_status'] == 2){echo '换洗';}else if(empty($tFourData['xw_mattess_status'])){echo '/';}?></td>
                            <td><?if($tThreeData['xw_mattess_status'] == 1){echo '清扫';}else if($tThreeData['xw_mattess_status'] == 2){echo '换洗';}else if(empty($tThreeData['xw_mattess_status'])){echo '/';}?></td>
                            <td><?if($tTwoData['xw_mattess_status'] == 1){echo '清扫';}else if($tTwoData['xw_mattess_status'] == 2){echo '换洗';}else if(empty($tTwoData['xw_mattess_status'])){echo '/';}?></td>
                            <td><?if($tOneData['xw_mattess_status'] == 1){echo '清扫';}else if($tOneData['xw_mattess_status'] == 2){echo '换洗';}else if(empty($tOneData['xw_mattess_status'])){echo '/';}?></td>
                            <td><?if($tData['xw_mattess_status'] == 1){echo '清扫';}else if($tData['xw_mattess_status'] == 2){echo '换洗';}else if(empty($tData['xw_mattess_status'])){echo '/';}?></td>
                        </tr>
                        <tr>
                            <td>探视</td>
                            <td><?=$tSexData['xw_visit'] == ','?'/':$tSexData['xw_visit']?></td>
                            <td><?=$tFiveData['xw_visit'] == ','?'/':$tFiveData['xw_visit']?></td>
                            <td><?=$tFourData['xw_visit'] == ','?'/':$tFourData['xw_visit']?></td>
                            <td><?=$tThreeData['xw_visit'] == ','?'/':$tThreeData['xw_visit']?></td>
                            <td><?=$tTwoData['xw_visit'] == ','?'/':$tTwoData['xw_visit']?></td>
                            <td><?=$tOneData['xw_visit'] == ','?'/':$tOneData['xw_visit']?></td>
                            <td><?=$tData['xw_visit'] == ','?'/':$tData['xw_visit']?></td>
                        </tr>
                        <tr>
                            <td>红外线照射</td>
                            <td><?=empty($tSexData['xw_hwx'])?'/':$tSexData['xw_hwx']?></td>
                            <td><?=empty($tFiveData['xw_hwx'])?'/':$tFiveData['xw_hwx']?></td>
                            <td><?=empty($tFourData['xw_hwx'])?'/':$tFourData['xw_hwx']?></td>
                            <td><?=empty($tThreeData['xw_hwx'])?'/':$tThreeData['xw_hwx']?></td>
                            <td><?=empty($tTwoData['xw_hwx'])?'/':$tTwoData['xw_hwx']?></td>
                            <td><?=empty($tOneData['xw_hwx'])?'/':$tOneData['xw_hwx']?></td>
                            <td><?=empty($tData['xw_hwx'])?'/':$tData['xw_hwx']?></td>
                        </tr>
                        <tr>
                            <td>康复按摩</td>
                            <td><?=empty($tSexData['xw_kf'])?'/':$tSexData['xw_kf']?></td>
                            <td><?=empty($tFiveData['xw_kf'])?'/':$tFiveData['xw_kf']?></td>
                            <td><?=empty($tFourData['xw_kf'])?'/':$tFourData['xw_kf']?></td>
                            <td><?=empty($tThreeData['xw_kf'])?'/':$tThreeData['xw_kf']?></td>
                            <td><?=empty($tTwoData['xw_kf'])?'/':$tTwoData['xw_kf']?></td>
                            <td><?=empty($tOneData['xw_kf'])?'/':$tOneData['xw_kf']?></td>
                            <td><?=empty($tData['xw_kf'])?'/':$tData['xw_kf']?></td>
                        </tr>
                        <tr>
                            <td>室外运动</td>
                            <td><?=empty($tSexData['xw_sw'])?'/':$tSexData['xw_sw']?></td>
                            <td><?=empty($tFiveData['xw_sw'])?'/':$tFiveData['xw_sw']?></td>
                            <td><?=empty($tFourData['xw_sw'])?'/':$tFourData['xw_sw']?></td>
                            <td><?=empty($tThreeData['xw_sw'])?'/':$tThreeData['xw_sw']?></td>
                            <td><?=empty($tTwoData['xw_sw'])?'/':$tTwoData['xw_sw']?></td>
                            <td><?=empty($tOneData['xw_sw'])?'/':$tOneData['xw_sw']?></td>
                            <td><?=empty($tData['xw_sw'])?'/':$tData['xw_sw']?></td>
                        </tr>
                        <tr>
                            <td>室内运动</td>
                            <td><?=empty($tSexData['xw_sn'])?'/':$tSexData['xw_sn']?></td>
                            <td><?=empty($tFiveData['xw_sn'])?'/':$tFiveData['xw_sn']?></td>
                            <td><?=empty($tFourData['xw_sn'])?'/':$tFourData['xw_sn']?></td>
                            <td><?=empty($tThreeData['xw_sn'])?'/':$tThreeData['xw_sn']?></td>
                            <td><?=empty($tTwoData['xw_sn'])?'/':$tTwoData['xw_sn']?></td>
                            <td><?=empty($tOneData['xw_sn'])?'/':$tOneData['xw_sn']?></td>
                            <td><?=empty($tData['xw_sn'])?'/':$tData['xw_sn']?></td>
                        </tr>
                        <tr>
                            <td>内衣</td>
                            <td><?=empty($tSexData['xw_underdress'])?'/':$tSexData['xw_underdress']?></td>
                            <td><?=empty($tFiveData['xw_underdress'])?'/':$tFiveData['xw_underdress']?></td>
                            <td><?=empty($tFourData['xw_underdress'])?'/':$tFourData['xw_underdress']?></td>
                            <td><?=empty($tThreeData['xw_underdress'])?'/':$tThreeData['xw_underdress']?></td>
                            <td><?=empty($tTwoData['xw_underdress'])?'/':$tTwoData['xw_underdress']?></td>
                            <td><?=empty($tOneData['xw_underdress'])?'/':$tOneData['xw_underdress']?></td>
                            <td><?=empty($tData['xw_underdress'])?'/':$tData['xw_underdress']?></td>
                        </tr>
                        <tr>
                            <td>外衣</td>
                            <td><?=empty($tSexData['xw_coat'])?'/':$tSexData['xw_coat']?></td>
                            <td><?=empty($tFiveData['xw_coat'])?'/':$tFiveData['xw_coat']?></td>
                            <td><?=empty($tFourData['xw_coat'])?'/':$tFourData['xw_coat']?></td>
                            <td><?=empty($tThreeData['xw_coat'])?'/':$tThreeData['xw_coat']?></td>
                            <td><?=empty($tTwoData['xwcoat'])?'/':$tTwoData['xw_coat']?></td>
                            <td><?=empty($tOneData['xw_coat'])?'/':$tOneData['xw_coat']?></td>
                            <td><?=empty($tData['xw_coat'])?'/':$tData['xw_coat']?></td>
                        </tr>
                        <tr>
                            <td>大便</td>
                            <td><?if($tSexData['xw_big_status'] == 1){echo '正常';}else if($tSexData['xw_big_status'] == 2){echo '成形';}else if($tSexData['xw_big_status'] == 3){echo '稀便';}else if($tSexData['xw_big_status'] == 4){echo '不成形';}else if($tSexData['xw_big_status'] == 5){echo '浓便';}else if($tSexData['xw_big_status'] == 6){echo '便血';}else if(empty($tSexData['xw_big_status'])){echo '/';}?></td>
                            <td><?if($tFiveData['xw_big_status'] == 1){echo '正常';}else if($tFiveData['xw_big_status'] == 2){echo '成形';}else if($tFiveData['xw_big_status'] == 3){echo '稀便';}else if($tFiveData['xw_big_status'] == 4){echo '不成形';}else if($tFiveData['xw_big_status'] == 5){echo '浓便';}else if($tFiveData['xw_big_status'] == 6){echo '便血';}else if(empty($tFiveData['xw_big_status'])){echo '/';}?></td>
                            <td><?if($tFourData['xw_big_status'] == 1){echo '正常';}else if($tFourData['xw_big_status'] == 2){echo '成形';}else if($tFourData['xw_big_status'] == 3){echo '稀便';}else if($tFourData['xw_big_status'] == 4){echo '不成形';}else if($tFourData['xw_big_status'] == 5){echo '浓便';}else if($tFourData['xw_big_status'] == 6){echo '便血';}else if(empty($tFourData['xw_big_status'])){echo '/';}?></td>
                            <td><?if($tThreeData['xw_big_status'] == 1){echo '正常';}else if($tThreeData['xw_big_status'] == 2){echo '成形';}else if($tThreeData['xw_big_status'] == 3){echo '稀便';}else if($tThreeData['xw_big_status'] == 4){echo '不成形';}else if($tThreeData['xw_big_status'] == 5){echo '浓便';}else if($tThreeData['xw_big_status'] == 6){echo '便血';}else if(empty($tThreeData['xw_big_status'])){echo '/';}?></td>
                            <td><?if($tTwoData['xw_big_status'] == 1){echo '正常';}else if($tTwoData['xw_big_status'] == 2){echo '成形';}else if($tTwoData['xw_big_status'] == 3){echo '稀便';}else if($tTwoData['xw_big_status'] == 4){echo '不成形';}else if($tTwoData['xw_big_status'] == 5){echo '浓便';}else if($tTwoData['xw_big_status'] == 6){echo '便血';}else if(empty($tTwoData['xw_big_status'])){echo '/';}?></td>
                            <td><?if($tOneData['xw_big_status'] == 1){echo '正常';}else if($tOneData['xw_big_status'] == 2){echo '成形';}else if($tOneData['xw_big_status'] == 3){echo '稀便';}else if($tOneData['xw_big_status'] == 4){echo '不成形';}else if($tOneData['xw_big_status'] == 5){echo '浓便';}else if($tOneData['xw_big_status'] == 6){echo '便血';}else if(empty($tOneData['xw_big_status'])){echo '/';}?></td>
                            <td><?if($tData['xw_big_status'] == 1){echo '正常';}else if($tData['xw_big_status'] == 2){echo '成形';}else if($tData['xw_big_status'] == 3){echo '稀便';}else if($tData['xw_big_status'] == 4){echo '不成形';}else if($tData['xw_big_status'] == 5){echo '浓便';}else if($tData['xw_big_status'] == 6){echo '便血';}else if(empty($tData['xw_big_status'])){echo '/';}?></td>
                        </tr>
                        <tr>
                            <td>小便</td>
                            <td><?if($tSexData['xw_small_status'] == 1){echo '正常';}else if($tSexData['xw_small_status'] == 2){echo '浑浊';}else if($tSexData['xw_small_status'] == 3){echo '带血';}else if($tSexData['xw_small_status'] == 4){echo '黄色';}else if($tSexData['xw_small_status'] == 5){echo '淡黄';}else if(empty($tSexData['xw_small_status'])){echo '/';}?></td>
                            <td><?if($tFiveData['xw_small_status'] == 1){echo '正常';}else if($tFiveData['xw_small_status'] == 2){echo '浑浊';}else if($tFiveData['xw_small_status'] == 3){echo '带血';}else if($tFiveData['xw_small_status'] == 4){echo '黄色';}else if($tFiveData['xw_small_status'] == 5){echo '淡黄';}else if(empty($tFiveData['xw_small_status'])){echo '/';}?></td>
                            <td><?if($tFourData['xw_small_status'] == 1){echo '正常';}else if($tFourData['xw_small_status'] == 2){echo '浑浊';}else if($tFourData['xw_small_status'] == 3){echo '带血';}else if($tFourData['xw_small_status'] == 4){echo '黄色';}else if($tFourData['xw_small_status'] == 5){echo '淡黄';}else if(empty($tFourData['xw_small_status'])){echo '/';}?></td>
                            <td><?if($tThreeData['xw_small_status'] == 1){echo '正常';}else if($tThreeData['xw_small_status'] == 2){echo '浑浊';}else if($tThreeData['xw_small_status'] == 3){echo '带血';}else if($tThreeData['xw_small_status'] == 4){echo '黄色';}else if($tThreeData['xw_small_status'] == 5){echo '淡黄';}else if(empty($tThreeData['xw_small_status'])){echo '/';}?></td>
                            <td><?if($tTwoData['xw_small_status'] == 1){echo '正常';}else if($tTwoData['xw_small_status'] == 2){echo '浑浊';}else if($tTwoData['xw_small_status'] == 3){echo '带血';}else if($tTwoData['xw_small_status'] == 4){echo '黄色';}else if($tTwoData['xw_small_status'] == 5){echo '淡黄';}else if(empty($tTwoData['xw_small_status'])){echo '/';}?></td>
                            <td><?if($tOneData['xw_small_status'] == 1){echo '正常';}else if($tOneData['xw_small_status'] == 2){echo '浑浊';}else if($tOneData['xw_small_status'] == 3){echo '带血';}else if($tOneData['xw_small_status'] == 4){echo '黄色';}else if($tOneData['xw_small_status'] == 5){echo '淡黄';}else if(empty($tOneData['xw_small_status'])){echo '/';}?></td>
                            <td><?if($tData['xw_small_status'] == 1){echo '正常';}else if($tData['xw_small_status'] == 2){echo '浑浊';}else if($tData['xw_small_status'] == 3){echo '带血';}else if($tData['xw_small_status'] == 4){echo '黄色';}else if($tData['xw_small_status'] == 5){echo '淡黄';}else if(empty($tData['xw_small_status'])){echo '/';}?></td>
                        </tr>
                        <tr>
        <th rowspan="7">晚上</th>
                            <!--<td rowspan="7">晚上</td>-->
                            <td>喝水</td>
                            <td><?if(empty($tSexData['ws_driking_total'])){echo '/';}else{echo $tSexData['ws_driking_total'].'ml'.','.$tSexData['ws_driking_times'].'次';}?></td>
                            <td><?if(empty($tFiveData['ws_driking_total'])){echo '/';}else{echo $tFiveData['ws_driking_total'].'ml'.','.$tFiveData['ws_driking_times'].'次';}?></td>
                            <td><?if(empty($tFourData['ws_driking_total'])){echo '/';}else{echo $tFourData['ws_driking_total'].'ml'.','.$tFourData['ws_driking_times'].'次';}?></td>
                            <td><?if(empty($tThreeData['ws_driking_total'])){echo '/';}else{echo $tThreeData['ws_driking_total'].'ml'.','.$tThreeData['ws_driking_times'].'次';}?></td>
                            <td><?if(empty($tTwoData['ws_driking_total'])){echo '/';}else{echo $tTwoData['ws_driking_total'].'ml'.','.$tTwoData['ws_driking_times'].'次';}?></td>
                            <td><?if(empty($tOneData['ws_driking_total'])){echo '/';}else{echo $tOneData['ws_driking_total'].'ml'.','.$tOneData['ws_driking_times'].'次';}?></td>
                            <td><?if(empty($tData['ws_driking_total'])){echo '/';}else{echo $tData['ws_driking_total'].'ml'.','.$tData['ws_driking_times'].'次';}?></td>
                        </tr>
                        <tr>
                            <td>晚餐</td>
                            <td><?if($tSexData['ws_appetite'] == 1){echo '少量';}else if($tSexData['ws_appetite'] == 2){echo '一般';}else if($tSexData['ws_appetite'] == 3){echo '大量';}else if(empty($tSexData['ws_appetite'])){echo '/';}?></td>
                            <td><?if($tFiveData['ws_appetite'] == 1){echo '少量';}else if($tFiveData['ws_appetite'] == 2){echo '一般';}else if($tFiveData['ws_appetite'] == 3){echo '大量';}else if(empty($tFiveData['ws_appetite'])){echo '/';}?></td>
                            <td><?if($tFourData['ws_appetite'] == 1){echo '少量';}else if($tFourData['ws_appetite'] == 2){echo '一般';}else if($tFourData['ws_appetite'] == 3){echo '大量';}else if(empty($tFourData['ws_appetite'])){echo '/';}?></td>
                            <td><?if($tThreeData['ws_appetite'] == 1){echo '少量';}else if($tThreeData['ws_appetite'] == 2){echo '一般';}else if($tThreeData['ws_appetite'] == 3){echo '大量';}else if(empty($tThreeData['ws_appetite'])){echo '/';}?></td>
                            <td><?if($tTwoData['ws_appetite'] == 1){echo '少量';}else if($tTwoData['ws_appetite'] == 2){echo '一般';}else if($tTwoData['ws_appetite'] == 3){echo '大量';}else if(empty($tTwoData['ws_appetite'])){echo '/';}?></td>
                            <td><?if($tOneData['ws_appetite'] == 1){echo '少量';}else if($tOneData['ws_appetite'] == 2){echo '一般';}else if($tOneData['ws_appetite'] == 3){echo '大量';}else if(empty($tOneData['ws_appetite'])){echo '/';}?></td>
                            <td><?if($tData['ws_appetite'] == 1){echo '少量';}else if($tData['ws_appetite'] == 2){echo '一般';}else if($tData['ws_appetite'] == 3){echo '大量';}else if(empty($tData['ws_appetite'])){echo '/';}?></td>
                        </tr>
                        <tr>
                            <td>用药</td>
                            <td><?if(empty($tSexData['ws_medicine_yi']) && empty($tSexData['ws_medicine_jj'])){echo '/';}else{echo '已用药:'.$tSexData['ws_medicine_yi']['medicine_name'].'<br/>'.'拒绝用药:'.$tSexData['ws_medicine_jj']['medicine_name'];}?></td>
                            <td><?if(empty($tFiveData['ws_medicine_yi']) && empty($tFiveData['ws_medicine_jj'])){echo '/';}else{echo '已用药:'.$tFiveData['ws_medicine_yi']['medicine_name'].'<br/>'.'拒绝用药:'.$tFiveData['ws_medicine_jj']['medicine_name'];}?></td>
                            <td><?if(empty($tFourData['ws_medicine_yi']) && empty($tFourData['ws_medicine_jj'])){echo '/';}else{echo '已用药:'.$tFourData['ws_medicine_yi']['medicine_name'].'<br/>'.'拒绝用药:'.$tFourData['ws_medicine_jj']['medicine_name'];}?></td>
                            <td><?if(empty($tThreeData['ws_medicine_yi']) && empty($tThreeData['ws_medicine_jj'])){echo '/';}else{echo '已用药:'.$tThreeData['ws_medicine_yi']['medicine_name'].'<br/>'.'拒绝用药:'.$tThreeData['ws_medicine_jj']['medicine_name'];}?></td>
                            <td><?if(empty($tTwoData['ws_medicine_yi']) && empty($tTwoData['ws_medicine_jj'])){echo '/';}else{echo '已用药:'.$tTwoData['ws_medicine_yi']['medicine_name'].'<br/>'.'拒绝用药:'.$tTwoData['ws_medicine_jj']['medicine_name'];}?></td>
                            <td><?if(empty($tOneData['ws_medicine_yi']) && empty($tOneData['ws_medicine_jj'])){echo '/';}else{echo '已用药:'.$tOneData['ws_medicine_yi']['medicine_name'].'<br/>'.'拒绝用药:'.$tOneData['ws_medicine_jj']['medicine_name'];}?></td>
                            <td><?if(empty($tData['ws_medicine_yi']) && empty($tData['ws_medicine_jj'])){echo '/';}else{echo '已用药:'.$tData['ws_medicine_yi'].'<br/>'.'拒绝用药:'.$tData['ws_medicine_jj'];}?></td>
                        </tr>
                        <tr>
                            <td>夜间睡眠</td>
                            <td><?=empty($tSexData['sleep_status'])?'/':$tSexData['sleep_status']?></td>
                            <td><?=empty($tFiveData['sleep_status'])?'/':$tFiveData['sleep_status']?></td>
                            <td><?=empty($tFourData['sleep_status'])?'/':$tFourData['sleep_status']?></td>
                            <td><?=empty($tThreeData['sleep_status'])?'/':$tThreeData['sleep_status']?></td>
                            <td><?=empty($tTwoData['sleep_status'])?'/':$tTwoData['sleep_status']?></td>
                            <td><?=empty($tOneData['sleep_status'])?'/':$tOneData['sleep_status']?></td>
                            <td><?=empty($tData['sleep_status'])?'/':$tData['sleep_status']?></td>
                        </tr>
                        <tr>
                            <td>起夜次数</td>
                            <td><?=empty($tSexData['sleep_count'])?'/':$tSexData['sleep_count']?></td>
                            <td><?=empty($tFiveData['sleep_count'])?'/':$tFiveData['sleep_count']?></td>
                            <td><?=empty($tFourData['sleep_count'])?'/':$tFourData['sleep_count']?></td>
                            <td><?=empty($tThreeData['sleep_count'])?'/':$tThreeData['sleep_count']?></td>
                            <td><?=empty($tTwoData['sleep_count'])?'/':$tTwoData['sleep_count']?></td>
                            <td><?=empty($tOneData['sleep_count'])?'/':$tOneData['sleep_count']?></td>
                            <td><?=empty($tData['sleep_count'])?'/':$tData['sleep_count']?></td>
                        </tr>
                        <tr>
                            <td>大便</td>
                            <td><?if($tSexData['ws_big_status'] == 1){echo '正常';}else if($tSexData['ws_big_status'] == 2){echo '成形';}else if($tSexData['ws_big_status'] == 3){echo '稀便';}else if($tSexData['ws_big_status'] == 4){echo '不成形';}else if($tSexData['ws_big_status'] == 5){echo '浓便';}else if($tSexData['ws_big_status'] == 6){echo '便血';}else if(empty($tSexData['ws_big_status'])){echo '/';}?></td>
                            <td><?if($tFiveData['ws_big_status'] == 1){echo '正常';}else if($tFiveData['ws_big_status'] == 2){echo '成形';}else if($tFiveData['ws_big_status'] == 3){echo '稀便';}else if($tFiveData['ws_big_status'] == 4){echo '不成形';}else if($tFiveData['ws_big_status'] == 5){echo '浓便';}else if($tFiveData['ws_big_status'] == 6){echo '便血';}else if(empty($tFiveData['ws_big_status'])){echo '/';}?></td>
                            <td><?if($tFourData['ws_big_status'] == 1){echo '正常';}else if($tFourData['ws_big_status'] == 2){echo '成形';}else if($tFourData['ws_big_status'] == 3){echo '稀便';}else if($tFourData['ws_big_status'] == 4){echo '不成形';}else if($tFourData['ws_big_status'] == 5){echo '浓便';}else if($tFourData['ws_big_status'] == 6){echo '便血';}else if(empty($tFourData['ws_big_status'])){echo '/';}?></td>
                            <td><?if($tThreeData['ws_big_status'] == 1){echo '正常';}else if($tThreeData['ws_big_status'] == 2){echo '成形';}else if($tThreeData['ws_big_status'] == 3){echo '稀便';}else if($tThreeData['ws_big_status'] == 4){echo '不成形';}else if($tThreeData['ws_big_status'] == 5){echo '浓便';}else if($tThreeData['ws_big_status'] == 6){echo '便血';}else if(empty($tThreeData['ws_big_status'])){echo '/';}?></td>
                            <td><?if($tTwoData['ws_big_status'] == 1){echo '正常';}else if($tTwoData['ws_big_status'] == 2){echo '成形';}else if($tTwoData['ws_big_status'] == 3){echo '稀便';}else if($tTwoData['ws_big_status'] == 4){echo '不成形';}else if($tTwoData['ws_big_status'] == 5){echo '浓便';}else if($tTwoData['ws_big_status'] == 6){echo '便血';}else if(empty($tTwoData['ws_big_status'])){echo '/';}?></td>
                            <td><?if($tOneData['ws_big_status'] == 1){echo '正常';}else if($tOneData['ws_big_status'] == 2){echo '成形';}else if($tOneData['ws_big_status'] == 3){echo '稀便';}else if($tOneData['ws_big_status'] == 4){echo '不成形';}else if($tOneData['ws_big_status'] == 5){echo '浓便';}else if($tOneData['ws_big_status'] == 6){echo '便血';}else if(empty($tOneData['ws_big_status'])){echo '/';}?></td>
                            <td><?if($tData['ws_big_status'] == 1){echo '正常';}else if($tData['ws_big_status'] == 2){echo '成形';}else if($tData['ws_big_status'] == 3){echo '稀便';}else if($tData['ws_big_status'] == 4){echo '不成形';}else if($tData['ws_big_status'] == 5){echo '浓便';}else if($tData['ws_big_status'] == 6){echo '便血';}else if(empty($tData['ws_big_status'])){echo '/';}?></td>
                        </tr>
                        <tr>
                            <td>小便</td>
                            <td><?if($tSexData['ws_small_status'] == 1){echo '正常';}else if($tSexData['ws_small_status'] == 2){echo '浑浊';}else if($tSexData['ws_small_status'] == 3){echo '带血';}else if($tSexData['ws_small_status'] == 4){echo '黄色';}else if($tSexData['ws_small_status'] == 5){echo '淡黄';}else if(empty($tSexData['ws_small_status'])){echo '/';}?></td>
                            <td><?if($tFiveData['ws_small_status'] == 1){echo '正常';}else if($tFiveData['ws_small_status'] == 2){echo '浑浊';}else if($tFiveData['ws_small_status'] == 3){echo '带血';}else if($tFiveData['ws_small_status'] == 4){echo '黄色';}else if($tFiveData['ws_small_status'] == 5){echo '淡黄';}else if(empty($tFiveData['ws_small_status'])){echo '/';}?></td>
                            <td><?if($tFourData['ws_small_status'] == 1){echo '正常';}else if($tFourData['ws_small_status'] == 2){echo '浑浊';}else if($tFourData['ws_small_status'] == 3){echo '带血';}else if($tFourData['ws_small_status'] == 4){echo '黄色';}else if($tFourData['ws_small_status'] == 5){echo '淡黄';}else if(empty($tFourData['ws_small_status'])){echo '/';}?></td>
                            <td><?if($tThreeData['ws_small_status'] == 1){echo '正常';}else if($tThreeData['ws_small_status'] == 2){echo '浑浊';}else if($tThreeData['ws_small_status'] == 3){echo '带血';}else if($tThreeData['ws_small_status'] == 4){echo '黄色';}else if($tThreeData['ws_small_status'] == 5){echo '淡黄';}else if(empty($tThreeData['ws_small_status'])){echo '/';}?></td>
                            <td><?if($tTwoData['ws_small_status'] == 1){echo '正常';}else if($tTwoData['ws_small_status'] == 2){echo '浑浊';}else if($tTwoData['ws_small_status'] == 3){echo '带血';}else if($tTwoData['ws_small_status'] == 4){echo '黄色';}else if($tTwoData['ws_small_status'] == 5){echo '淡黄';}else if(empty($tTwoData['ws_small_status'])){echo '/';}?></td>
                            <td><?if($tOneData['ws_small_status'] == 1){echo '正常';}else if($tOneData['ws_small_status'] == 2){echo '浑浊';}else if($tOneData['ws_small_status'] == 3){echo '带血';}else if($tOneData['ws_small_status'] == 4){echo '黄色';}else if($tOneData['ws_small_status'] == 5){echo '淡黄';}else if(empty($tOneData['ws_small_status'])){echo '/';}?></td>
                            <td><?if($tData['ws_small_status'] == 1){echo '正常';}else if($tData['ws_small_status'] == 2){echo '浑浊';}else if($tData['ws_small_status'] == 3){echo '带血';}else if($tData['ws_small_status'] == 4){echo '黄色';}else if($tData['ws_small_status'] == 5){echo '淡黄';}else if(empty($tData['ws_small_status'])){echo '/';}?></td>
                        </tr>
                    </tbody>
                    <tr>
                    </tr>
                </table>
                <?=$tShow?>
            </div>
            </form>
        </div>
        <div class="subviews">
            <div class="subviews-container"></div>
        </div>
    </div>
    <!-- end: PAGE -->
</div>
<!-- end: MAIN CONTAINER -->
<script type="text/javascript" src="/plugins/datepicker/WdatePicker.js" charset="UTF-8"></script>
<script>
$('#search').click(function(){
    $('form').submit();
});
/*获取地址栏参数*/
function GetQuery(key){
  var search = location.search.slice(1);//得到get方式提交的查询字符串
  var arr = search.split("&");
  for(var i = 0; i < arr.length; i++){
    var ar = arr[i].split("=");
    if(ar[0] == key){
      return ar[1];
    }
  }
}
    var color="#eeeeee";
$("#table_list tr:even td:odd").css("background-color",color);
$("#table_list tr:odd td:even").css("background-color",color);
//改变偶数行背景色
    /* 把背景色保存到属性中 */
    $("#table_list tr:even td:odd").attr("bg",color);
    $("#table_list tr:odd td:even").attr("bg",color);
</script>
<?php include PATH_TPL."/admin/tpl.footer.phtml"?>
